package com.example.jpatest.controller.grapgql;

import com.coxautodev.graphql.tools.GraphQLMutationResolver;
import com.example.jpatest.entity.Student;
import com.example.jpatest.service.StudentService;
import graphql.schema.DataFetchingEnvironment;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@AllArgsConstructor
public class StudentMutationResolver implements GraphQLMutationResolver {
    @Autowired
    StudentService studentService;

    public Student createStudent(String studentNumber){
        return null;
    }
}
